package net.hn.hnms.biz.performance.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.hn.hnms.biz.performance.request.PerformanceScoringAndDetailsReq;
import net.hn.hnms.biz.performance.request.PerformanceScoringReq;
import net.hn.hnms.biz.performance.request.SafetyHazardReq;
import net.hn.hnms.biz.performance.vo.PerformanceScoringVo;
import net.hn.hnms.biz.performance.vo.SafetyHazardVo;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.List;

public interface PerformanceScoringService {

    Page<List<PerformanceScoringVo>> getPerformanceScoringByNameAndScoringTypeAndScoringDateAndScoringTemplateId(PageQuery pageQuery, PerformanceScoringReq req);

    int deleteById(List<String> ids);

    int update(PerformanceScoringReq req);

    int save(PerformanceScoringAndDetailsReq req);

    List<SafetyHazardVo> getSafetyHazard(SafetyHazardReq req);
}
